package com.csnf.mapper;

import com.csnf.entity.Task;

import java.util.List;

public interface TaskMapper {
    public void addTask(Task task);
    public Task deleteTask(int taskId);
    public void updateTask(Task task);
    public Task getTaskById(int taskId);
    List<Task> getAllTask();
    List<Task> getTaskByName(String taskName);
}
